skmp/gdtool

Fix coreio/fclose leak, -info-basename option for gdtool