Change to bytes
Migrate EncodeBlobs.py to lib folder - might add a build step later Removed some stale logic