improve error messages when the download fails

This pull request addresses #48.
The check for `403` can be removed once the download site returns proper error codes when a file could not be found.