Added automatic gunzipping for file downloads