Initial StringIO implementation