checks to make directory only if it does not exist