check for newline in streaming

This fixes https://github.com/dotcloud/docker-py/issues/176