Fix 'this' access in RecReader.checkCacheFile by binding the value to the callback of the 'end' event of the StreamReader.