stat: fix calculation of bw and iops statistics based on samples