normalize line endings