Bug fix: Encode stdout/stderr as UTF-8 when not connected to a terminal