Grab text output from stdout instead of writing to temp file
Remove superfluous encoding option