Split out ResourceGenerator from the other state in YamlFrameWriter …
This cleans up things a little and will make it easier for us to generate files for native fonts because we won't have multiple mutable borrows on YamlFrameWriter.