Fix bug where reading from the index file fails for values on the 2^30 offset boundary.