sgw: fix EOL stripping of the egress file