HQL binary data

Run a hql query that returns binary data (for instance the cached script params). Instead of an exception you should see `<Invalid UTF-8>`.
See https://trac.openmicroscopy.org.uk/ome/ticket/12115