Better handle filenames with * and ? in them.