Fix broken std::string to std::string char convert.