Do not rewrite config file if configuration is not changed