Fix two major oopses in Graphite pickle protocol handling