temporary fix for pre-2.7 Pythons (which lack subprocess.check_output)