Steve Dower added the comment:
That patch looks good to me.
LOCALAPPDATA is set by the operating system, typically to C:\Users<username>\AppData\Local (at least since Vista I think? Certainly since Win7). While it's possible to customize it, people who know how to do that won't be emailing webmasters expecting technical support.