fixup line endings