write out network config file when saving