[Fix #993] Don't report offenses for an empty file

Except possibly for the file name.
Merge pull request #1015 from jonas054/fix_993_empty_files

[Fix #993] Don't report offenses for an empty file