[plugin_core] fix index "/filename" handling