istream_wrapper: Rename functions now that they are not static