Support downloading folders
Merge remote-tracking branch 'upstream/master'