Based on this proc
http://www.openacs.org/api-doc/proc-view?proc=ad_tmpnam&source_p=1
Seems like there is a parametere called tmpdir which can be specified in your config.tcl
In the examples I have at hand I could not find a file using this parameter, but I think you can put it right after "ns_section ns/parameters" in your config.tcl