Using subprocess.call instead of subprocess.check_output to make Python 2.6 happy