check_output isn't available in Python 2.6

This reverts commit ab996bf77db0551626f73e44eb8a7e96775ebeed.