jsbrowser: Fix disk cache

The Qt Disk Cache cannot share the same dir between instances, so we
ensure that never happens by using a temp dir for the cache. This means
that caching is not persistent, but it prevents problems, especially on
windows with its file locking.