Remove the destination path before uploading files

Avoid permission problems in case that the target file exists and the
SSH user doesn't have write permissions to it.
Merge pull request #32 from tmatilai/remove-tmp-destination

Remove the destination path before uploading files