eliminate use of deprecated Tcl_SaveResult API