Optimize FileSystem reference in MemoryEntry away

Fixes #12