Fix unicode decode error in result output

Possible allternate fix for #116 (no tests yet, not ready to merge).