Fix to trim Windows style newlines
Merge pull request #2 from xl1/master

Fix to trim Windows style newlines