Fixed a bug where the configuration file would not be written if default values for properties were used.

Signed-off-by: Xunkar <xunkar@jenmaarai.com>