EventStoreLayer: Fix for wrongly stating corrupted file