c1 := bytes.NewBufferString(contents) instead?