genericize assembler tempdir