This patch updates the functions createDefaultOutputFile, createOutputFile, createOutputFileImpl to use OpenFlags instead of a boolean binary flag.
I mapped the bool to the OpenFlags like the following
Binary = true -> OF_None
Binary = false -> OF_TextWithCRLF
I think this is only going to be worth it if we can roll up all of these booleans into a new flags enum for compiler instance. It also prevents introducing a new use of FileSystem.h, which is an expensive header to include.