sync before rename
swapfiles :/