Prevent a crash when passing NULL into statusForFile and shouldFileBeIgnored

The NSParameterAssert was removed, but the proper checks weren’t added to `statusForFile:` and `shouldFileBeIgnored:`