Remove unused StringIO.

StringIO does not exists on py3, which leads to failure of building.