Normalizes line endings