fixed autosave signal handling in win32