c_str() on std::string printf argument