Use os.replace instead of os.rename for windows compatibility (#3428)
Use os.replace instead of os.rename for windows compatibility (#3428)


facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI