persistent-nodemap: catch the right exception on python
On Python 2, Missing file are IOError, not OSError, apparently.
Differential Revision: https://phab.mercurial-scm.org/D9809
#require docutils gettext $ $TESTDIR/check-gendoc zh_TW checking for parse errors