Create tmp dir if not exist.