Bug-fix for different newline characters.
Merge pull request #5 from shane-walker/master

Newline Bugfix