Rework line endings