stream: set correct content length based on actual size to read and not file size
Merge branch 'v2.26' of github.com:bioothod/elliptics-go into bioothod-v2.26

Conflicts:
	elliptics/session.go
Merge branch 'bioothod-v2.26' into 2.26