Less heavy handed rewriting of error codes in Tcl BIO