str.c: New functions ds_put_c_vformat and ds_put_c_format