Fix filenames not being expanded.