Change utf8_path() into a top-level function.