do not close input, unless it was us who opened it

Change-Id: I6ffedd1e64e48b4fc4bd6f5eb63e96b49f1a8508
css::packages::Packages is a wrong choice

Change-Id: I7d27e7f320633c176fb9fb0a5f64e891fff6c4d7
Revert "impl. enumeration for ZipPackage"

This reverts commit 5b2cca80eeb2c8ee210820cc8ed95e5d69214807.
Also reverts commit 86a5053df0d755d10121d65c533f3d327340a0fd.