methods/rsh.cc: replace strcat with std::string