Treat subprocess.communicate() output as data, not string

Comparisons don't work as expected when types are mixed (probably a
python 2 vs. 3 issue).
Use Popen’s cwd param to set directory and split cmd args to avoid shell