moved HDF5Writers into core