persist: Render the actual file name, not the default, in error messages