Moved compression detection to warc.open(); this is consistent with filetype detection.