fix issue with renaming a file when a swap file exists