add download gzip support