Fix unicode problems in build_plugin_url