I can still change the type to 'All files' in my file select dialog, which causes a js error in the next step. We should catch this as well.