Fix ENOENT evaluation after fopen() returns NULL.
Fix ENOENT evaluation after fopen() returns NULL.

skoef/pkg,khorben/pkg,en90/pkg,skoef/pkg,Open343/pkg,junovitch/pkg,junovitch/pkg,khorben/pkg,khorben/pkg,Open343/pkg,en90/pkg