OMEROFormat: handle Ice runtime exceptions

Usually this is due to an OMERO server mismatch. Closes #42.
OMEROFormat: refactor plane writing error handling

It is now a helper method, like the other exception handling.