Handle case if directory does not exist in FilePicker

Fixes #4