Fix sftp delete directory operation