tumblr_backup: handle more errors while downloading images

Fixes #45.
Merge branch 'master' into api-v2