Fix save() call when using Output frontend

Move the `setLastKey` method before we return from inside `get()`