Add `upload_rm` file transfer option

Similar to `ln_rm`, this first performs a remote upload
and then deletes the file locally if the upload and hash
check were successful.
Merge pull request #2777 from joshmoore/upload-rm

Add `upload_rm` file transfer option