qunit macro: Make log/ directory writable instead of just the file

This makes it easier to configure more mw log files without
needing to touch and chmod each.

Change-Id: I8c892abc46ed57f4a881f2c56bb4abf7dbea6224