[PATCH] Broken write_iolog option if iolog given