Download file fixes.

Download manager for file browser downloads files with a stream.