Encapsulate EmuFs state so that we can have more than one.

#603.  Pretty trivial refactoring.