Contrary to what appears in the doc:
with open("myplugin.zip", "r") as f:
You should use rb (read bytes) to read the archive correctly and have it installed in the instance:
with open("dss-plugin-pi-system-1.0.1.zip", "rb") as plugin:
I tested it, works fine in version 11.2.