Improve thread safety of EphemeralFileSystem.

The file system needs to be synchronized around the buffer that holds
the actual data. Also, the "scratch pad" buffers for reading chunks from
those data buffers may not be shared between threads.