Create tempdir before using it