cStringIO does not support unicode, try importing python3 version instead