Don't segfault when in --one-file mode
Don't segfault when in --one-file mode

The problem is that on Linux, fclose() of a NULL pointer segfaults

Signed-off-by: Love Hornquist Astrand <c5e2f0824a6b8bf7ea1d693b4c00a7e90e09ef7a@h5l.org>

madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal