CLN: StringIO from io instead of from StringIO
It looks like `io` is available from 2.6 onward.  Can I move the importing out of `compat` (and replaces any `cStringIO` with `StringIO`)? `StringIO.StringIO` doesn't always do the same thing as `io.StringIO`.
