Instantiate a new mempack backend
Write a thin packfile with the objects in the memory store
Dump all the queued in-memory writes to a packfile
Reset the memory packer by clearing all the queued objects
Get the total number of objects in mempack