add changes introduced in df 0.40.X
convert dos line endings to unix line endings and enable line ending normalization
remove trailing whitespace