Blob storage download fails with parent folder
Blob storage download fails with parent folder

If the blob_name returned by parse_blob_uri contains a parent folder (IE: DSC/dscExtension.ps1), then the get_blob_to_path call will fail due to the the parent path not existing (IE: /var/lib/waagent/Microsoft.OSTCExtensions.DSCForLinux-2.70.0.4/download/4/DSC) when the file is opened.  This change adds a check for the parent path, and creates it if it doesn't exist.
bpramod/azure-linux-extensions,Azure/azure-linux-extensions,vityagi/azure-linux-extensions,andyliuliming/azure-linux-extensions,vityagi/azure-linux-extensions,bpramod/azure-linux-extensions,vityagi/azure-linux-extensions,bpramod/azure-linux-extensions,vityagi/azure-linux-extensions,vityagi/azure-linux-extensions,bpramod/azure-linux-extensions,Azure/azure-linux-extensions,Azure/azure-linux-extensions,Azure/azure-linux-extensions,bpramod/azure-linux-extensions,bpramod/azure-linux-extensions,Azure/azure-linux-extensions,vityagi/azure-linux-extensions,vityagi/azure-linux-extensions,Azure/azure-linux-extensions,andyliuliming/azure-linux-extensions,andyliuliming/azure-linux-extensions,bpramod/azure-linux-extensions,andyliuliming/azure-linux-extensions,Azure/azure-linux-extensions