fix mms_agent to do dirname/join

should probably be figuring out a way to explicitly set a logdir (maybe use mongodb.config._key to denote a field that shouldn't be copied into the config file?)