pub fn write_default_config() -> Result<Config, Error>
Writes the default configuration to the configuration file to the OS-specific default configuration path.