Normalise index to be positive when seeking (but only if valid).
Raise IOError when #seek fails to seek to valid index.