runtime: fix incorrect mkstemp prefix for write_..._robust