XD-2319 - Include python modules in distribution and various improvements

* Removed unnecessary code in stream.py
* Added Sink object
* Updated stream.py
* Changed default encoding to CRLF
* Make stream.py python/python3 version agnostic