fix up adler32 csum

Signed-off-by: Edward O'Callaghan <victoredwardocallaghan@gmail.com>