Do not read past end of extra fields record when reading each extra field

This looks like a good solution for iipc/webarchive-commons#9 to me, let's see what Travis makes of it.