Add support for Windows line endings in cnd.