Make download error message condition stricter.

Fixes #10.