Fix root folder for upload files (deploy). closes #1959