Check WARC/GZ via file extension

This modification checks for WARC or WARC.GZ via file extension.