Go Writer splitting on boundaries