Don't use subprocess.check_output

It does not exist in Python 2.6, which is installed on CentOS 6.4.