Throw IOException when encountering an unrecognised tag type instead of ArrayIndexOutOfBounds whilst reading nbt data.