curl_write_formatの修正