bundle-uri: add support for http(s):// and file://