fix closing file if we're not the owner
fix closing file if we're not the owner

The check in line 5215 does not work as is, proposing to fix the default-value for `out_fname` to match the check.
jewettaij/moltemplate,smsaladi/moltemplate,smsaladi/moltemplate,jewettaij/moltemplate