print out directory if it does not exist