Write the model config file to <config_root>/<config_fn>.
Parameters:
filename (str, optional) – Name of the config file. Default is None, which uses the
default name wflow.toml.
config_root (str or Path, optional) – Root folder to write the config file. If None (default),
the model root is used. Can be absolute or relative to the model root.