Added gunzip support for file downloading