[18.09] backport using strings.Builder instead of string appending Upstream-commit: 22336b332c Component: cli
22336b332c