Move IO from ext/ to dist/