Use unique identifier for SiaFiles instead of SiaPaths
Sia should use UIDs internally and only store the name of a file in the SiaFile on disk. This means the UID also needs to be persisted. When a user interacts with the API the path will be translated to the UID which is then used instead of the path.
NOTE: The SiaFile
already has a UID but it is generated when the file object is created and only exists in memory. It's not persisted yet.
Edited by Christopher Schinnerl