Faster roundtripping of strings between ICU and python