Prevent "No new line at the end of file"

We have insert_final_newline = true to ensure files will contain a new line at the end. However we have seen commits with "No new line" added in the git log.

We should have a test at the QA script level to prevent more occurrences.