[util] Avoid calling fclose(NULL) in zbin.c