If you have multiple materials with the same GUID (in the case of custom profiles) then we want to send only the material with the highest version number and only the base material.
Contributes to issue CURA-5034.
When we re-serialize them, the XML file will not be exactly the same so the signature will fail to match. We need to send the original bytes.
This changes the behaviour: It now sends all non-default files instead of all files that were loaded fully.
Contributes to issue CURA-5034.