Fix atomic file write to force a Sync and not shadow an error.
Fix atomic file write to force a Sync and not shadow an error.

cgvarela/vitess,mattharden/vitess,applift/vitess,tirsen/vitess,erzel/vitess,sougou/vitess,dumbunny/vitess,mlc0202/vitess,rnavarro/vitess,kuipertan/vitess,nurblieh/vitess,tjyang/vitess,mapbased/vitess,fengshao0907/vitess,skyportsystems/vitess,cloudbearings/vitess,xgwubin/vitess,mattharden/vitess,mahak/vitess,ptomasroos/vitess,kuipertan/vitess,anusornc/vitess,atyenoria/vitess,michael-berlin/vitess,atyenoria/vitess,yaoshengzhe/vitess,mattharden/vitess,AndyDiamondstein/vitess,yaoshengzhe/vitess,SDHM/vitess,tirsen/vitess,kmiku7/vitess-annotated,cgvarela/vitess,kuipertan/vitess,cgvarela/vitess,mahak/vitess,tinyspeck/vitess,dumbunny/vitess,ptomasroos/vitess,AndyDiamondstein/vitess,aaijazi/vitess,mattharden/vitess,michael-berlin/vitess,vitessio/vitess,sougou/vitess,mapbased/vitess,skyportsystems/vitess,applift/vitess,xgwubin/vitess,dcadevil/vitess,cloudbearings/vitess,mahak/vitess,cloudbearings/vitess,netroby/vitess,netroby/vitess,netroby/vitess,kmiku7/vitess-annotated,HubSpot/vitess,dcadevil/vitess,mapbased/vitess,anusornc/vitess,yangzhongj/vitess,dumbunny/vitess,pivanof/vitess,ptomasroos/vitess,pivanof/vitess,applift/vitess,erzel/vitess,netroby/vitess,dcadevil/vitess,applift/vitess,tinyspeck/vitess,tinyspeck/vitess,davygeek/vitess,yaoshengzhe/vitess,ptomasroos/vitess,anusornc/vitess,vitessio/vitess,skyportsystems/vitess,michael-berlin/vitess,tjyang/vitess,skyportsystems/vitess,dcadevil/vitess,anusornc/vitess,enisoc/vitess,vitessio/vitess,applift/vitess,applift/vitess,fengshao0907/vitess,enisoc/vitess,aaijazi/vitess,cgvarela/vitess,pivanof/vitess,kmiku7/vitess-annotated,erzel/vitess,dumbunny/vitess,alainjobart/vitess,nurblieh/vitess,mapbased/vitess,dcadevil/vitess,anusornc/vitess,aaijazi/vitess,nurblieh/vitess,davygeek/vitess,guokeno0/vitess,ptomasroos/vitess,aaijazi/vitess,alainjobart/vitess,dumbunny/vitess,rnavarro/vitess,mapbased/vitess,guokeno0/vitess,aaijazi/vitess,guokeno0/vitess,rnavarro/vitess,tirsen/vitess,tjyang/vitess,alainjobart/vitess,dcadevil/vitess,yaoshengzhe/vitess,cgvarela/vitess,tirsen/vitess,guokeno0/vitess,pivanof/vitess,HubSpot/vitess,anusornc/vitess,cgvarela/vitess,davygeek/vitess,xgwubin/vitess,cloudbearings/vitess,michael-berlin/vitess,rnavarro/vitess,SDHM/vitess,sougou/vitess,enisoc/vitess,tirsen/vitess,SDHM/vitess,yaoshengzhe/vitess,cloudbearings/vitess,nurblieh/vitess,dumbunny/vitess,mahak/vitess,applift/vitess,nurblieh/vitess,erzel/vitess,anusornc/vitess,kmiku7/vitess-annotated,tinyspeck/vitess,rnavarro/vitess,applift/vitess,anusornc/vitess,mapbased/vitess,SDHM/vitess,kuipertan/vitess,pivanof/vitess,xgwubin/vitess,mattharden/vitess,fengshao0907/vitess,mlc0202/vitess,rnavarro/vitess,michael-berlin/vitess,dumbunny/vitess,vitessio/vitess,yangzhongj/vitess,SDHM/vitess,yangzhongj/vitess,netroby/vitess,mattharden/vitess,atyenoria/vitess,applift/vitess,tjyang/vitess,alainjobart/vitess,enisoc/vitess,yangzhongj/vitess,kmiku7/vitess-annotated,netroby/vitess,rnavarro/vitess,sougou/vitess,mlc0202/vitess,tjyang/vitess,ptomasroos/vitess,tirsen/vitess,tinyspeck/vitess,atyenoria/vitess,kmiku7/vitess-annotated,mapbased/vitess,mahak/vitess,mlc0202/vitess,HubSpot/vitess,HubSpot/vitess,mapbased/vitess,davygeek/vitess,sougou/vitess,atyenoria/vitess,pivanof/vitess,sougou/vitess,mlc0202/vitess,tjyang/vitess,netroby/vitess,fengshao0907/vitess,yaoshengzhe/vitess,xgwubin/vitess,davygeek/vitess,skyportsystems/vitess,atyenoria/vitess,aaijazi/vitess,guokeno0/vitess,yangzhongj/vitess,aaijazi/vitess,nurblieh/vitess,mattharden/vitess,guokeno0/vitess,pivanof/vitess,erzel/vitess,ptomasroos/vitess,davygeek/vitess,HubSpot/vitess,mahak/vitess,AndyDiamondstein/vitess,SDHM/vitess,vitessio/vitess,xgwubin/vitess,fengshao0907/vitess,kuipertan/vitess,guokeno0/vitess,dumbunny/vitess,michael-berlin/vitess,aaijazi/vitess,enisoc/vitess,skyportsystems/vitess,ptomasroos/vitess,alainjobart/vitess,applift/vitess,guokeno0/vitess,SDHM/vitess,pivanof/vitess,dcadevil/vitess,mattharden/vitess,mlc0202/vitess,tirsen/vitess,sougou/vitess,rnavarro/vitess,atyenoria/vitess,yangzhongj/vitess,erzel/vitess,yaoshengzhe/vitess,alainjobart/vitess,yaoshengzhe/vitess,dumbunny/vitess,skyportsystems/vitess,tirsen/vitess,kmiku7/vitess-annotated,SDHM/vitess,mapbased/vitess,fengshao0907/vitess,vitessio/vitess,guokeno0/vitess,tjyang/vitess,tirsen/vitess,SDHM/vitess,atyenoria/vitess,aaijazi/vitess,enisoc/vitess,tinyspeck/vitess,cgvarela/vitess,erzel/vitess,vitessio/vitess,yangzhongj/vitess,cloudbearings/vitess,fengshao0907/vitess,nurblieh/vitess,netroby/vitess,mlc0202/vitess,mapbased/vitess,HubSpot/vitess,HubSpot/vitess,alainjobart/vitess,nurblieh/vitess,AndyDiamondstein/vitess,michael-berlin/vitess,cgvarela/vitess,mattharden/vitess,erzel/vitess,yangzhongj/vitess,AndyDiamondstein/vitess,enisoc/vitess,dumbunny/vitess,alainjobart/vitess,kuipertan/vitess,erzel/vitess,AndyDiamondstein/vitess,AndyDiamondstein/vitess,sougou/vitess,xgwubin/vitess,tinyspeck/vitess,mlc0202/vitess,erzel/vitess,fengshao0907/vitess,vitessio/vitess,AndyDiamondstein/vitess,xgwubin/vitess,xgwubin/vitess,anusornc/vitess,yangzhongj/vitess,skyportsystems/vitess,netroby/vitess,skyportsystems/vitess,cloudbearings/vitess,kmiku7/vitess-annotated,mahak/vitess,michael-berlin/vitess,kuipertan/vitess,cloudbearings/vitess,rnavarro/vitess,HubSpot/vitess,tjyang/vitess,michael-berlin/vitess,mlc0202/vitess,AndyDiamondstein/vitess,davygeek/vitess,kuipertan/vitess,ptomasroos/vitess,nurblieh/vitess,kmiku7/vitess-annotated,cloudbearings/vitess,mahak/vitess,cgvarela/vitess,pivanof/vitess,atyenoria/vitess,tjyang/vitess,fengshao0907/vitess,mattharden/vitess,kuipertan/vitess,yaoshengzhe/vitess