Improve support for writing and reading scalars in hdf5

5 jobs for hdf5-scalar-support in 8 minutes and 41 seconds