Afair the Stream ctor uses std::string, not char*?