Fix h5 & cache for arrays::vector