backup_to_sftp: fixed clearing of backup directory
(for ports other than 22)