Windows host parsing unix files

I had a situation where unix line endings files needed to be processed on a windows host.

So - the line endings were just "\n" but process.platform === 'win32' === true

This patch handles windows and unix in the same statement - let me know if there are any problems : )