zlib inflate says: Error: incorrect header check