normalise line endings