JANDEX-24 Use close() not flush() so ZIP trailer is written out before copy
Merge pull request #18 from doctau/JANDEX-24

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