This line can be remove (the directory is already created with `mkdtemp`.