fix .gz.gz file extension bug