Use compat's StringIO. Should fix bitbucket #213

https://bitbucket.org/pypa/setuptools/issue/213/regression-setuptools-37-installation