Use unix line endings, fix whitespace errors