Properly report failure when expanding a packfile