Fixed permission issue.

The temp directory permissions didn't allow the download script to
read the list of resources to download.