Convert Windows line endings to POSIX line endings
(cherry picked from commit f13da743e1406d7287b2d312c86df1bcd04f0479)