Fixed md2man for python3.

Partially addresses #254.

This change makes make_man_page.py work with either python3 or
python2.

The test suite is still dependent on python2, and this should be
changed, but for now this at least makes a build possible.