Use dill for pickling if available.