Reverts default end marker write when disposing LogWriter

- End marker is now written when Dispose() is called.