[FIXED JENKINS-22356] Added native encoding support for CPD.

Latest CPD version does not use UTF8 as default when writing
the results XML files anymore.