a gio.FileInfo or NULL if there was an error. Free the returned object with g_object_unref().
GException on failure.