Simplifies tmp dir name