Is the `const_cast` safe?  You can't modify the result of `c_str()`.