Removal of pointless MFC dependency
Fix for garbage data in XRef file names in "unicode" builds.
1.  Read of released char array has been fixed.
2.  toUTF8String call in related line has been replaced
    by wideString2utf8String as, at least on MSVC11, std::stringstream lacks
    wchat_t* overload for << operator which causes wchars to be written
    as series of int16 values.... same problem seems to be prevalent
    in less often used (and tested) code.