GlobalNinjaGenerator: enlarge file stream buffer
By enlarging the internal buffer of the file stream, it doesn't need to call the operating system to write out the current buffer as much as before. I measured some nice performance improvements on Windows, where the previous buffer size was around 4 KiB.
Fixes: #23142 (closed)
Edited by Brad King