changed to use default temp folder rather than creating new one
use IOUtils.copy when creating zip entry