This changes the workspace delete behavior to match osbuild-composer's, returning an error if the workspace doesn't exist.
reading needs to decode the bytes to str and writing needs to encode the str to bytes.