Fix uninitialized value

We decide whether to close an existing file based on this field, so we'd better make sure to initialize it.