'Load the given pickle path.
Note that attempting to unpickle a non-pickle file can raise
cPickle.UnpicklingError or ImportError. For example:
>>> import cPickle as pickle
>>> pickle.load(open("foo.txt", \'rb\'))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named odeintel: INFO: eval \'raven\' at raven.py#29'

def load_pickle(self, path, default=None):

    if exists(path):
        log.debug("fs-read:    load    pickle    `%s'", path[(len(self.base_dir) + 1):])
        fin = open(path, 'rb')
        try:
            return pickle.load(fin)
        except:
            if (default is not None):
                return default
            raise
        finally:
            fin.close()
    elif (default is not None):
        return default
    else:
        raise OSError(("`%s'    does    not    exist" % path))
