Recursive write on plugins directory to enable in-place upgrade