Refactoring of subprocess.check_output --> subprocess.check_call to be compatible with Python 2.6.6