Apply patch by Mike Perry, to make CRC checksums stable.

See https://bugzilla.mozilla.org/show_bug.cgi?id=935237 for history
and background.