Fixing more issues with the HDF5 Writing.