Python script to create CDX index files of WARC data