Generate a sequence of objects by opening the path and unpickling items
        until EOF is reached.

def read_pickles (self):
        """Generate a sequence of objects by opening the path and unpickling items
        until EOF is reached.

        """
        try:
            import cPickle as pickle
        except ImportError:
            import pickle

        with self.open (mode='rb') as f:
            while True:
                try:
                    obj = pickle.load (f)
                except EOFError:
                    break
                yield obj