add newlines at end of file