Inherits Reference < Object
Flush the in-memory FS to the backing tmpdir. Caller-driven because most tests don't want disk I/O; opt in when you need a real path to hand to non-simulator code.