Fix bug when no segment of a file was downloaded
Fix bug when no segment of a file was downloaded

I foolishly believed that the os code would handle a nil file. I was
wrong. This fixes that.

DanielMorsing/gonzbee