normalize line endings to lf