Backport subprocess.check_output() from Python 2.7 to Python 2.6, fix #5