Ensure files end with a newline character

http://lists.gnu.org/archive/html/help-gnu-emacs/2001-12/msg00080.html