I see, weird. Your patch looks reasonable, shouldn't break in other environments as cache files should be in a per-user tree anyway. Just a file bug on RT against PAR-Packer (because that's were I look first), the text of your original post should do.
Cheers, Roderich