In my own workround of this problem I also decided I need to "decode" the following two uses:
In _get: the use of local_path.name
In _put: the use of source_path.name
I don't remember exactly why I decided that was necessary, but maybe someone who knows Python and this code can just check if it is OK that those two path names are being passed to upload_local_file as Bytes instead of String.
In my own workround of this problem I also decided I need to "decode" the following two uses:
In _get: the use of local_path.name
In _put: the use of source_path.name
I don't remember exactly why I decided that was necessary, but maybe someone who knows Python and this code can just check if it is OK that those two path names are being passed to upload_local_file as Bytes instead of String.