Added functions for conversion between std::string and std::wstring.