Bug fix

Change to cast channel variable to a string when called by subprocess.call() to avoid error.