Fix decoding large strings.