Tar gzip file compression calculation without decompressing the file