Added extension caching for servers running on Windows.

Not tested in Linux, as I don't have a Linux box to test on.