Fix gob reading thrash from buffer