Minor fix str/byte issue of subprocess.