update example to new packfile creation signature
Merge pull request #1953 from ethomson/packfile_example

update example to new packfile creation signature