Don't try to parse non-html responses, create directories.
Don't overwrite already downloaded files.