fix #10811: add templatePrefix to Fileset

Fixes https://trac.openmicroscopy.org.uk/ome/ticket/10811

To test, try doing some imports and check that the `templateprefix` column in the `fileset` table in the database matches the appropriate prefix of the `path` column in `originalfile`.