Don't use subprocess.check_output

It doesn't exist in Python 2.6.