Display a better error when the downloaded file is empty.

Fixes #61