Fix reloading plugins

This makes reloader.py ignore files not ending in .py.

This also makes sure that the filepath is decoded into an str instead of being bytes. This fixes issues with unloading commands, as well as reloading ignored plugins.