tumblr_backup: handle more errors while downloading images

Fixes #45.