The original code is to remove the folder of App name in current path if that folder exists, then create a new folder with App name and copy from developer's folder. That logic will be failed if developer's folder exists in current folder and the new folder has the same name.

This patch is to create a new folder with random name as a buffer, when everything is ready, rename the folder to App name. If there is a folder of same name already, we just remove it as the original code. 

Maybe, to print some warnings  is better?