Refactors the section of our script which empties the destination upload
directories to use sftp instead of ftp.