Attempt to only edit the config file, not re-write it.