Remove use of std::io.