revert pickle_compat