make sure Pathname works when finding uri: files