Create tmp directory if it is not there.