Fix indexing errors in slycat-generate-hdf5-timeseries.py.