zinc_analysis_cache: fix NameError being thrown on IOError

_really_ fix the bug that markcc tried to squash in f81d39afa8e9852bb66616d5a951c02f1cf81a79