Let FileInfo's directory and in a directory separator

When setting the FileInfo of an image loaded with SCIFIO, ascertain that
the directory ends in a directory separator, as ImageJ 1.x used to do.

Pointed out by Bill Heeschen.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>