fixs for Py3, catch pygments exceptions, select revisions to diff for single files