fix for SIGPIPE AttributeError on Windows
Merge pull request #136 from cbare/SIGPIPE_fix

fix for SIGPIPE AttributeError on Windows