Decode subprocess Output

The subprocess.check_output result needs to be utf-8 decoded. There
are more encoding issues if the input files have special characters.