catch exceptions explicitly.

Do not handle errors we unexpected. The ValueError and ImportError are
foreseeable both.
Merge pull request #157 from tonyseek/catch-exceptions-explicitly

Catch exceptions explicitly.