Fix sftp delete issue and error handling for unsucessful delete