Always add newline and EOF