Add last_written_position to use an appender for fs