This shouldn't be needed, as `g_file_new_for_path` is documented as never failing.