DefaultLegacyOpener: save last dir

In ImageJ1, File > Open opens the last path opened. To match the feel in
the legacy layer, we should save the last successfully opened path as
well.