Fix NPE when FileTarget hasn't been used

If a file target is never written to (for example, if the FileTarget has
been set to a level that hasn't been logged to), _logFile will be null
on dispose. This can interrupt other Targets' disposing.
Merge pull request #1 from Zshazz/fix-npe

Fix NPE when FileTarget hasn't been used