Cleanup packfile API