Update pack.py and inst.xpk.py.