4894. [bug] named could crash while rolling a dnstap output file. [RT #46942] (cherry picked from commit 448eb987)