Create directories for output in download if they don't exist