Use IOStub not StringIO in specs.