Made file recursion backwards compatible with earlier gio