Convert the rest of the C++ strings to C.

Primarily newstr, which has lots of interactions.