[Win32] Added support for the stack and dump file for UNC support. Changed the dumpFileName from CstdString to std::string and changed the format to c_str() otherwise we get a random file name name like /K,l for the dump file and stack trace name.
Merge pull request #3285 from Skixbmc/WIN32Exception

[Win32] fixed: stack and dump writer couldn't handle smb paths