Fix missing cached key in archives

When an object with __hdf_write__ was written in an archive, the
corresponding key was not cached. Therefore, one could not access
the object which had just been written.
Fix test after conj changes

conj(double) now returns a complex. The mapped_functions test output
had to be fixed accordingly.