Fix FILE leak

Coverity 1147011