Dunno how this amazing hack works, but if it's looking for files named as they were named before (cache-x), that might be the point where it goes wrong now.
If that's the problem it could maybe be fixable by checking new tempfiles by creation date, the newest being the one that just started playing in Pandora..