Minor change of c_str() to data() where a null terminator is not needed