Encode whitespaces as %20 in the add plugin dialogs

Following my discussion with @agueganno in #363, I encode " " as "%20" to allow spaces in file name paths. I also update the help messages a little.