Save the status of the object in pickle format.

def pickle_dump(self):
        """Save the status of the object in pickle format."""
        with open(os.path.join(self.workdir, self.PICKLE_FNAME), mode="wb") as fh:
            pickle.dump(self, fh)