[FIXED JENKINS-11752] ANSI color plugin adds garbage to log.

 This fix was proposed by Anze Zagar. This also will fix issue #15.