Fix creation of mediawiki log dir