@Override public void write(final @WillNotClose OutputStream out)
throws IOException {
class DiffSink implements ZipSink {
@Override public ZipOutput output() throws IOException {
return new ZipOutputStreamAdapter(new ZipOutputStream(out) {
@Override public void close() throws IOException {
super.finish();
}
});
}