Typos fixed from earlier hasty path edit and another try/except.