Fixed the error: Error: EXDEV, Cross-device link

Avoid to have this following error when renaming a file from a disk partition to another:

Error: EXDEV, Cross-device link