Switch to subprocess.call to remove python 2.7 dependency.