stubs: fix tmp file location