Support creating subdirs if necessary when updating a component. We don't check for ../ etc because the updated code can do anything anyway.
Put wrapper.jar in wrapper/ on Windows, otherwise in .