Fixing line endings