Fix signature check of gzip files.