Ensure that the right owner is set on the plugindir

This should help issues like this one (https://gist.github.com/rtyler/10433041) where a plugin cannot be installed due to ownership issues on the plugindir