Fix windows compatibility
Merge pull request #6 from johndouthat/master

/dev/null is not available on Windows