Use fsync on MSVC, as fdatasync doesn't exist
Use fsync on MSVC, as fdatasync doesn't exist

Summary: Closes #266

Reviewed By: @yfeldblum

Differential Revision: D2283774

Pulled By: @sgolemon

sonnyhu/folly,alexst07/folly,lifei/folly,alexst07/folly,chjp2046/folly,upsoft/folly,loversInJapan/folly,wildinto/folly,tempbottle/folly,SeanRBurton/folly,hongliangzhao/folly,zhiweicai/folly,shaobz/folly,floxard/folly,guker/folly,constantine001/folly,zhiweicai/folly,sakishum/folly,tempbottle/folly,renyinew/folly,clearlylin/folly,leolujuyi/folly,brunomorishita/folly,zhiweicai/folly,reddit/folly,gaoyingie/folly,arg0/folly,fw1121/folly,chjp2046/folly,rklabs/folly,yangjin-unique/folly,lifei/folly,guker/folly,Eagle-X/folly,reddit/folly,sakishum/folly,bikong2/folly,gaoyingie/folly,alexst07/folly,PoisonBOx/folly,lifei/folly,chjp2046/folly,KSreeHarsha/folly,Orvid/folly,tomhughes/folly,theiver9827/folly,sakishum/folly,PoisonBOx/folly,renyinew/folly,Eagle-X/folly,SeanRBurton/folly,clearlylin/folly,PoisonBOx/folly,alexst07/folly,gavioto/folly,Eagle-X/folly,shaobz/folly,hongliangzhao/folly,yangjin-unique/folly,sonnyhu/folly,chjp2046/folly,loversInJapan/folly,fw1121/folly,yangjin-unique/folly,doctaweeks/folly,xzmagic/folly,xzmagic/folly,shaobz/folly,tempbottle/folly,SeanRBurton/folly,bobegir/folly,juniway/folly,guker/folly,doctaweeks/folly,clearlylin/folly,renyinew/folly,facebook/folly,Hincoin/folly,CJstar/folly,bobegir/folly,shaobz/folly,Hincoin/folly,Hincoin/folly,stonegithubs/folly,hongliangzhao/folly,constantine001/folly,tempbottle/folly,theiver9827/folly,juniway/folly,bikong2/folly,zhiweicai/folly,floxard/folly,alexst07/folly,leolujuyi/folly,sakishum/folly,renyinew/folly,KSreeHarsha/folly,sonnyhu/folly,gaoyingie/folly,SammyK/folly,leolujuyi/folly,PPC64/folly,juniway/folly,SammyK/folly,rklabs/folly,shaobz/folly,arg0/folly,KSreeHarsha/folly,doctaweeks/folly,reddit/folly,bowlofstew/folly,arg0/folly,Orvid/folly,mqeizi/folly,upsoft/folly,doctaweeks/folly,CJstar/folly,Eagle-X/folly,SeanRBurton/folly,constantine001/folly,PoisonBOx/folly,juniway/folly,wildinto/folly,Orvid/folly,bowlofstew/folly,upsoft/folly,bikong2/folly,stonegithubs/folly,raphaelamorim/folly,PPC64/folly,loversInJapan/folly,facebook/folly,upsoft/folly,rklabs/folly,raphaelamorim/folly,fw1121/folly,fw1121/folly,mqeizi/folly,PoisonBOx/folly,rklabs/folly,gaoyingie/folly,PPC64/folly,theiver9827/folly,constantine001/folly,chjp2046/folly,bobegir/folly,CJstar/folly,rklabs/folly,bobegir/folly,stonegithubs/folly,Eagle-X/folly,floxard/folly,facebook/folly,sakishum/folly,leolujuyi/folly,yangjin-unique/folly,sonnyhu/folly,reddit/folly,bowlofstew/folly,floxard/folly,loversInJapan/folly,tomhughes/folly,stonegithubs/folly,floxard/folly,hongliangzhao/folly,xzmagic/folly,bowlofstew/folly,wildinto/folly,tempbottle/folly,theiver9827/folly,Hincoin/folly,lifei/folly,CJstar/folly,KSreeHarsha/folly,Orvid/folly,tomhughes/folly,bikong2/folly,loversInJapan/folly,SammyK/folly,brunomorishita/folly,charsyam/folly,brunomorishita/folly,stonegithubs/folly,juniway/folly,facebook/folly,gavioto/folly,raphaelamorim/folly,lifei/folly,brunomorishita/folly,mqeizi/folly,gaoyingie/folly,arg0/folly,raphaelamorim/folly,bowlofstew/folly,facebook/folly,doctaweeks/folly,arg0/folly,clearlylin/folly,guker/folly,SammyK/folly,charsyam/folly,leolujuyi/folly,reddit/folly,PPC64/folly,constantine001/folly,SammyK/folly,SeanRBurton/folly,xzmagic/folly,charsyam/folly,brunomorishita/folly,CJstar/folly,tomhughes/folly,mqeizi/folly,sonnyhu/folly,gavioto/folly,clearlylin/folly,wildinto/folly,mqeizi/folly,yangjin-unique/folly,wildinto/folly,KSreeHarsha/folly,PPC64/folly,guker/folly,Orvid/folly,fw1121/folly,Hincoin/folly,gavioto/folly,bobegir/folly,renyinew/folly,theiver9827/folly,hongliangzhao/folly,charsyam/folly,upsoft/folly,raphaelamorim/folly,bikong2/folly,zhiweicai/folly,tomhughes/folly,xzmagic/folly,gavioto/folly