Fixed StringIndexOutOfBoundsException when parsing Pig output