Use cPickle, and fix loading of pickled object