builder: also strip terminal control chars