Bug fix

Cast the channel variable to a string when called by subprocess.call() to avoid error.