make sure emacs doesn't generate files which do not end with a newline.