watch out for overwriting files with multiple links

If a file in the destination points to an inode that has multiple links, first
remove the link to prevent overwriting another file.