Don't set Content-Length header if size is unknown

Fix for #2013 

In #3392, Google storage is now returning -2 for Google Docs which have no known file size until completely downloaded.

@icewind1991