tccrun: win32: improve exception handler