check for missing newlines at the end of the files