automatically add newline at end of files