changed plugin load priority to be path based, not suffix based.

This should fix #9674