Convert to using StreamHandler rather than pickler.