Fix printing out binary/UTF-8 characters in kyua 0.11 by backporting fix for issue # 136
Backport the fix made by rodrigc in https://github.com/jmmv/kyua/issues/136 to
kyua 0.11 in order to fix kyua report-junit when executed with the FreeBSD test
suite as some of the testcases output binary or unicode data
Submitted by: rodrigc
Sponsored by: EMC / Isilon Storage Division