Use io for py3