Catch PIL imread problems early and generate error message

This addresses problems seen in #1154 and #1091.
Better now?

```python
        raise ValueError('Could not load "%s": make sure you have external library '
            'installed for "%s" files' % (fname, im.format))
```