* net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files