MongoDB: fixed object_id function (hex values)

Google Code issue 1778