saveDefaults
Stores the default values provided by addDefault for any path that has no user provided value. If the underlying config representation does not exist, it is created and initiated with the default values. A list or map key that is present without a value is written as an empty list or map instead of the default.
Throws
if the configuration file or its parent directories cannot be created or written.