Fix permissions on generated updates
Restore adler32, which is not deprecated

This reverts part of commit 0938aa15367caa3332d0b812b6e4514d14772e0d

Closes #27