nah, normalize_uri lives in HttpClient. You can't use that one. But you can use normalize_unix_path() found in rex/file.rb...