Bugfix: Image import: File naming settings were ignored (rebased onto dev_5_0)



This is the same as gh-2162 but rebased onto dev_5_0.

----

See Ticket #12030: https://trac.openmicroscopy.org.uk/ome/ticket/12030
When importing images setting specific file naming options didn't have any effect.