Hdf5 export function creates file and writes some values.