Use download module to download and extract files

Fixes #321.
Merge pull request #363 from kevva/download

Use download module to download and extract files