[patch] add a separator before the pid suffix to the tmpdir template