Normalise line endings