Update extension parsing code to allow for case insensitive patterns in file dialogs.