TemplateResources need to download from local "file://" urls

This is ONLY when the template is from the global environment
(not user provided).

Change-Id: Id554b098fdeaaf04e7bb1a8e2e80abe6d484ae9c
Merge "TemplateResources need to download from local "file://" urls"