Changes line endings from '\r\n' to '\n'

Fixes #44