Fix: files not being closed or flushed.