Tidy line endings