CLOUDIFY-2117 Added download function for both wget and curl commands.