Fix rsync 32 bit checksum algorithm

This is duplication with the other code.  Can we make this into a module that gets reused in both places?