fix crc32 signed integer wrap-around for python < 3.0