Download file repo for CI

Hello!
I have one issue in one of my test cases. I am using the download file as C://testfile that i declare in the project settings and its working as expected. My question is how i can declare a folder inside the katalon studio repo and use it as my download folder for the CI, because the C repo will fail in TeamCity.
I tried using /katalon/testfile/ but is not working

import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import java.nio.file.StandardOpenOption

import com.kms.katalon.core.configuration.RunConfiguration

Path projectDir = Paths.get(RunConfiguration.getProjectDir());
println "projedtDir=" + projectDir.toString()

Path tmp = projectDir.resolve("tmp");
Files.createDirectories(tmp);
println "tmp=" + tmp.toString();

Path testfile = tmp.resolve("testfile");
Files.write(testfile, "Hello, world".getBytes(),
	StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)

This Test Case code will create a new folder named tmp under the project’s root folder, and write a text into a file named testfile under the tmp folder.

Please note that RunConfiguration.getProjectDir() returns a string like /Users/myname/katalon/projextX which is the path of the Katalon Project’s root folder.