bypass os.getuid on Windows
Fix SIGQUIT on Windows
Merge pull request #579 from majj/master

bypass os.getuid on Windows