Avoid exporting certain files in U. F. O. if they are empty.

This addresses issue #1813.