Fix off-by-one bug in h5ds (issue 304)