Use g_filename_to_uri() instead of e_util_filename_to_uri(). Use g_filename_from_uri() instead of e_util_uri_to_filename().