This fix permits download files without content (size 0)

Today, this little fix permits a empty file download.