kio_file: fix two data races
- Use thread id rather than pid for filehelper socket (untested, found when reading the code; AFAIK KAuth support is disabled anyway currently)
- Fix data race on static user cache (https://bugs.kde.org/show_bug.cgi?id=454619)