Don't leak open files.