Fix wrong instance variable name in error message
When not enough data is written with a CachedDataSink the error message will trigger an error because it uses a wrong instance variable name.
This patch fixes this.
When not enough data is written with a CachedDataSink the error message will trigger an error because it uses a wrong instance variable name.
This patch fixes this.