pivotData updated to do one dump and use cPickle