This function doesn't work unless p is a single, complete line.
That's not in the spirit of interface io.Writer. Consider instead:

```go
func (c *colorizer) colorize(line []byte) []byte
```