Fixed work of reswork.py in win32