eliminate dependency on bson.json_util
fix two pfilereaper logic bugs