network: fix line break in stream files