Fixes bug when plugin name file ended in m, i, or n.