Add line ending at end of files