Returns a pointer to a single DATAFILE element whose `dat' member points to
the object, or NULL if there was an error or there was no object with the
requested name. Remember to free this DATAFILE later to avoid memory leaks,
but use the correct unloading function!