Don't do gzip compression if the URL path ends in .gz or .tgz