Use os.system() instead of invoke.run() for running processes.

There were a number of errors that cropped trying to use invoke.run() to run
processes. Instead of fighting an uphill battle, let's just use the tried and
true os.system().