Fix [d43a10ce2fed950e00890049f3c273f2cdd12583|d43a10ce2f]: tk_getOpenFile crashes when passed a bad -typevariable.
Crash was caused by access to a list element after the Tcl_Obj was shimmered
to a variable intrep.