Correcting mixed line endings