Fix packaging script permissions.