os.rename fails when moving between filesystems