Auto fixing line endings