Tests: Simplify implementation of execute_process encoding test executable Replace use of KWSys ConsoleBuf with direct encoding conversion calls.