Updated preferences to use cPickle instead of normal text files