QA-297: Use a different technique to generate errors in mongod.