autotest: fixed dump of file based logs