Pass -Zgzip to dpkg-deb in order to preserve backwards compatibility with dpkg 1.14-25-9 and below. If -Zgzip is not passed, recent versions of dpkg will use xz compression by default.