CLOUDSTACK-7654 fixed issues with zip format templates.