Windows : Don't write to /dev/null

Writing to /dev/null on Windows produces a lot of PHP Warnings which is kind of annoying. 

Thank you
Merge pull request #19 from stakisko/patch-1

Windows : Don't write to /dev/null