etcd might generate incomplete proxy config file after a power failure. It is because we use ioutil.WriteFile. And iotuile.WriteFile does not call Sync before closing the file.