Implemented TomlGenerator for serialzing TOML to a file/stream