sqlite: fix checksum