wu-mkdir implementation