Fix typo in code

direcoty -> directory