Do not assume anything about `itertools.islice` errors.

Their string representations appear to be version-dependent.