Create an emulated fs to enable properly mapping shared segments during ...

...replay.

Resolves #629.  There's some other bug preventing the `mremap` test from passing, but that doesn't relate to #629.