Update dpack.py