compression_wrapper: Add asserts.
sqlite: Add asserts.