Remove some c_str() calls.

Use the clang RemoveCStrCalls tool to automatically migrate the
code. This was only run on linux, so does not have any positive or
negative effect on other platforms.
Merge topic 'remove-c_str-calls' into next

cd02cee2 Remove some c_str() calls.