fix bug in cdx writer recognizing warc record types