fixed the subdirectories creation for the wiki_dir