Make more generators write files directly instead of printing to stdout
This makes the generators faster (especially on Windows) because otherwise meson has to invoke a wrapper program, which is not particularly fast to open, and windows' poor subprocess performance makes this worse.
Edited by Dylan Baker