replace g_free call on GFile objects