zlib.crc32 behaves inconsistently on py2 vs py3