BUG: fix CategoricalBlock pickling