This makes the qfile packing code reusable, for example for some dom0 tool. Now qfile-agent.c is only an interface for underlying library. QubesOS/qubes-issues#1324