This fixes the issue that any files are not displayed on the Open File dialog. ('all/allfiles' is treated as a file pattern as follows)
Test: I tested this change on Windows 10 OS only.