Separated from #3315
Cross builds from Linux and using release tarballs results in files being installed with LF line endings. Windows likes CRLF, though, so we should convert line endings on installation if necessary, using `unix2dos` or similar.
Maybe it's not an issue afterall, recent Windows versions handle LF better AFAIK.