Implement NewLineWriter ensuring proper line
endings based on platform. #3.
newLineWriter: Run always windows & unix tests.
Merge pull request #4 from pblaszczyk/writer

Implement NewLineWriter ensuring proper line endings based on platform. #3.