Changes regarding use of streams in diaspy/client.py