Changes to fix mjd in H5 writer