add logging to finalize method for StreamsWriter

i'd like to just remove it, but let's see if these messages start
turning up first so we can fix the leaks