fixes different line endings for win/unix