Added reference to os for getting the correct EOL

I noticed that on Windows 7 I could run into problems by using '\n' as EOL sequence. Therefore, I added the reference to the 'os' node package to always get the right EOL sequence.
Merge pull request #10 from tobilg/master

Added reference to os for getting the correct EOL