Remove extraneous c_str

Added since #3549