Corrects littles errors on create/delete tmp dir... Sorry!