fix fs.syncWrite delaying server response & log xhr events in omni