Coffee-script port of high performance adler32 implementation from zlib.