fix missing newline handling in generic-unix packaging