avoid touching a configuration file if the content is not changed