cleanup: always add a final \n if -s was provided