mw-apply-settings: make sure log dir exist

Change-Id: I65b5e28f7216e8c0baad96910083ff8462ce2d27