Default write to HDF5 if present, formatting