make legacy FileChooser views work again
Merge pull request #2589 from kived/filechooser-legacy-fix

make legacy FileChooser views work again