Log warning if the grains file cannot be parsed. Refs #8690.
Pylint fix.
Merge pull request #8813 from cachedout/#8690

Log warning if grains file contains errors.