Script paths to basename 11464

This fixes https://trac.openmicroscopy.org.uk/ome/ticket/11464 where several scripts use a filename coming from a script parameter without checking whether the filename is actually a path.

For each of the scripts in this PR, we validate that the file name is only a name using os.path.basename().

To test:
 - Run E.g. Movie Figure script in Insight, using an image that is named like: path/to/the/image.dv
The path will be removed and the figure should become named "image.jpg".
 - You can try this with a few of the different scripts (include Batch_Image_Export), but probably not worth doing all of them. I've already tested them all and they all have exactly the same commit applied.