Durable local storage proposal

This is a proposal for #598


By my reading of the code, HostDirectory and EmptyDirectory are not API objects.  They are sub-structs.