[files] Threads now have files, not attachments, compatible with new API