Fix resource leak.

fclose() is missing.