don't use subprocess.check_output for 2.6 compatibility