[plugins] Fix bugs.
[plugins] Fix _init_output_dire and delete multiple inheritance for SemiPassivePlugin