dl-and-commit.sh: use http, detect latest version
extract.sh: fix mode of extracted files