[FIXED JENKINS-11752] ANSI color plugin adds garbage to log. This fix was proposed by Anze Zagar.