This seems very similar to `with_c_str`, could one call the other?