Rename path to uri