Remove additional newlines at EOF.