use cPickle when available and use highest pickle proto

cPickle is considerably faster than pickle, and highest protocol
(currently 2), has some nice benefits in performance.