a gio.FileIOStream, or NULL on error. Free the returned object with g_object_unref().
GException on failure.