Fix for TDM directory naming. This allows the TDM directory to be named something other than "darkmod". See issue #3578

git-svn-id: https://svn.thedarkmod.com/svn/darkmod_src/trunk@5897 49c82d7f-2e2a-0410-a16f-ae8f201b507f