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 #51601
amd64 docker linux
precheck:debian:sid:amd64

00:00:20

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

00:02:28

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

00:04:21

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

00:01:40

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

00:03:14

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

00:03:24

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

00:04:45

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

00:05:09

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

00:04:50

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

00:05:00

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

00:00:59

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

00:01:04

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

00:00:59

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

00:01:00