Fix doc build with Python 2.6.x

subprocess.check_output was new in Python 2.7.
Use an alternative construct via subprocess.Popen
which works on Python 2.6 as well.
Merge pull request #23 from dirkmueller/python26x

Fix doc build with Python 2.6.x