this commit fixes that node does not crash with an invalid file descriptor on windows
Merge pull request #36 from simonhoss/master

this commit fixes that node does not crash with an invalid file descriptor on windows