Win32: Remove obsoleted code now that GFileDirName always returns a path with a trailing slash