waas: Create file in same directory to avoid cross-device renames

/tmp (TMPDIR) might be a different device than the target filesystem.
Decode ASIC status bits