TOOLS-522 fix improper exit assert in bsondump test