fixed XDG cache linux

I fixed the issue with the cache on Linux. As you can see, if you merge this as it is, I'll crash on Windows.

I don't know anything about Windows, so I did not fix that issue.

NB: the new cache file is .toutv_cache.txt because without extension XDG created a directory and not a file.