Convert lcdf::Str to & from std::string.