Utf-8/unicode support in legacy tools and lib. (#800) Remove all generic text macros. Fixes #764. The *NamedFile* functions now accept full utf8 filenames on any platform. Windows applications must use WideCharToMultiByte to convert unicode filenames before calling these functions.