add native support for gzip-compressed inputs