Change name of HDF5 handle writer.

* Change HDF5 handle writer name from writeToHDF5 to writeToHDF5Handle
* Fix bug in writeToHDF5Handle where structures related to param names
  were not written.