Handle the case when USER is undefined in environment. In that case, all processes were sharing a temp dir.