[AppImage Thumbnailer] Avoid creating QTemporaryFile
Instead use new API that returns a buffer to avoid writing to the file system
Differential Revision: https://phabricator.kde.org/D15417