Made datum serialization funcs use r_sanity_check, made deserialization func handle base_exc_t seen in datum_t construction.