CLOUDSTACK-6940:Templates cannot be downloaded from URLs without
matching file extensions.