throw if no URI schema in locate, use file: in Node