make odim_h5 cache generic. references #29