Change do_prompt() and get_prompt_string() to accept an std::string instead of a char* for the 'curranswer' parameter
Convert a char* to an std::string in do_execute_command()
Convert a char* to an std::string in do_insert_file()
Convert check_writable_directory() and safe_tempfile() to work on std::string instead of char*