Fixed exception on saving to non-existed directory for FileChooser