I wonder if we should be using os.path.normcase() before calling fnmatch.translate() here.