use shutil.move to replace os.rename: Invalid cross-device link