long output is truncated with a note. Switched to bytes.Buffer instead of []byte