Allow raw access to the process trace data.
Add stream information to ProcessState (part 2 of issue #37).

Restore stream information from the thread trace when processing FileOpen and
FileClose events.