adding support for .wic .wic.xz as source for image