JANDEX-24 Use close() not flush() so ZIP trailer is written out before copy