fixing pipe-thru example
adding file-stream tests

- no longer freeing file stream
- freeing written chunks