Fixing the URI for the download so it respects the version attribute.

Fixing the URI for the download so it respects the version attribute. As originally written, it'll download 3.1.7 regardless of the version specified (assuming that you ignore the checksum).