(Windows) gBasename now handles the file extension