ensure response data is tgz format