Add encoding switch for XLS export - refs BT#7017