Add a magic fd that rr verifies writes to between record/replay.

Part of #532.