Fix Url::from_file_path to be a static method.