Convert graphviz and intmap tools to use Python 2.7.