Updates download-deps.py, write file with permission information while unziping.
Merge pull request #6563 from dumganhar/v3

Updates download-deps.py, write file with permission information while unziping.