CLI: handle MIF exceptions (#10783)

See https://trac.openmicroscopy.org.uk/ome/ticket/10783 for the ticket description.

Simple testing scenario:
```
bin/omero login
touch a&series=2.fake
bin/omero import a&series=2.fake
bin/omero delete /Image:id1
bin/omero chgrp gid /Image:id1
```

Additionally, the MIF can be split between 2 datasets and the following:

```
bin/omero delete /Dataset:d1
bin/omero chgrp gid /Dataset:d1
```

should give the same error messages.