I’m having the same issue.
When you go into theme editor and select the theme maunally, you get the same error.
Therefore, I doubt it is an issue with read/write . I extracted to the same path as it is in the tarball.
It’s for any file.
It is at 777.