previewer: guard against bad files

* Adds user friendly error message when preview plugin throws an
  exception.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>