Fix multi-byte bug introduced in 7b1a4f

Divisor should be 256, or 0x100 rather than 0xff. My zip files cannot be read since its content is being truncated as it contains 0xff code points and is being wrongly truncated due to it.

Unit tests pass.