Add IsNull() to class CAutoFile and remove operator !

As suggested by @TheBlueMatt and @laanwj in #4701.