Update cd-command.cpp

switched vector<char> to <string>