Added dir param to io/persistent, integrated with PersistentMap