Catch None in filechooser when iterating files.

Fixes a filechooser crash where the iterator is None.