fix line endings in original files before gitattributes etc