fclose origfile and zonefile

(cherry picked from commit 455bb232)
14 jobs for 519-unclosed-files-in-lib-dns-tests-zt_test-c-v9_12 in 9 minutes and 53 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Precheck
passed precheck:debian:sid:amd64 #51601
amd64 docker linux

00:00:20

 
  Build
passed build:centos:centos6:amd64 #51602
amd64 docker linux

00:02:28

passed build:centos:centos7:amd64 #51603
amd64 docker linux

00:04:21

passed build:debian:sid:amd64 #51604
amd64 docker linux

00:01:40

passed build:debian:sid:i386 #51605
i386 docker linux

00:03:14

 
  Test
passed install:debian:sid:amd64 #51614
amd64 docker linux

00:03:24

passed systemtest:centos:centos6:amd64 #51610
amd64 docker linux

00:04:45

passed systemtest:centos:centos7:amd64 #51611
amd64 docker linux

00:05:09

passed systemtest:debian:sid:amd64 #51612
amd64 docker linux

00:04:50

passed systemtest:debian:sid:i386 #51613
i386 docker linux

00:05:00

passed unittest:centos:centos6:amd64 #51606
amd64 docker linux

00:00:59

passed unittest:centos:centos7:amd64 #51607
amd64 docker linux

00:01:04

passed unittest:debian:sid:amd64 #51608
amd64 docker linux

00:00:59

passed unittest:debian:sid:i386 #51609
i386 docker linux

00:01:00