use Support::temppath to create temp files in temp directory