Fix the problem opening U. F. O. directories from the graphical file chooser.

This addresses #1515.