ImgSaver: make exception messages more descriptive

The exception messages now return a message identifying the type of
exception, and include the failed id to help identify what may have gone
wrong during the writing process.