Store config to a file (will be created if not exists).
The config should be known to the config system.