BF: proper storing results in file when using hdf5 backend