Hotfix for open file

dialog.Filter won't accept an incomplete filter string. So you have to
build one into a temp string and then finally use that as the filter
string.