Fix filename wildcard expansion on Windows

The Windows shell expects us to expand wildcards ourselves.