Fix copying of plugins and themes