Improved error handling in importer.

Make better use of Python exceptions. Tested by turning my camera off
during directory reading or file copying.