Fix invalid reference to plugin_dir

This might fix your win path issue Gary? There was a reference to a non existent class attribute self.plugin_dir.