Fixed core.py (Python3 returns byte arrays from subprocess.Popen's stdout, not strings