Fixed a bug in DLG tree viewer which failed to read external dialog
filenames containing mixed-case letters.
Several minor file I/O related fixes