Decode bytes output from subprocess.check_output

Python 3 sends output back as bytes, so it needs to be decoded to a string.