adjust try / catch around import library operations
Merge pull request #1739 from mtbc/trac-11654-importer-catches

fix #11654: adjust try / catch around import library operations