We can't call .c_str that way as the returned memory reference is local.