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