Fix filemangaer directory creation