Description:
The following shell helpers now have the following arguments:
cat(filePath, [useBinaryMode = false])
writeFile(filePath, fileContents, [useBinaryMode = false])
If 'useBinaryMode' is true, files with newline (\n) characters will not be translated into \r\n on Windows.
Engineering Ticket Description:
The shell helpers for reading files, cat(), and writing files, writeFile() do not open files in binary mode, ios::binary. On Windows, this results in \n characters being translated as \r\n.
If the WiredTiger.turtle file is opened with cat() and written with writeFile(), WiredTiger will be unable to read it because it does not recognize \r characters.