I'm using mingw-runtime 0.3, and I find that the
unix2dos and dos2unix programs are broken.
Given a file with Unix line endings, dos2unix converts
it to have Windows line endings. This is wrong.
Given a file with Unix line endings, unix2dos mangles
it completely. Instead of giving it Windows line
endings, it replaces every LF with CR CR LF.
Clearly, the programs are not reading and writing files
in binary mode, so they are always converting to
Windows line endings, sometimes "sort of" twice.