correct line ending handling
Merge pull request #127 from yenatch/master

line ending fix