Add StringPrintf function to print value into a std::string