Device Id File Persistence
class DeviceIdFilePersistence(file: File, deviceIdGenerator: () -> UUID, logger: Logger) : DeviceIdPersistence
This class is responsible for persisting and retrieving a device ID to a file.
This class is made multi-process safe through the use of a FileLock, and thread safe through the use of a ReadWriteLock in SynchronizedStreamableStore.