NUTCH-1591: Incorrect conversion of ByteBuffer to String