Restored Python 2.6 compatibility to mdx_gist.py.