Fixed problem with non-unicode encoding settings for standard output and
error for DAWNSCI-663