Add support for passing bytestrings to query setters
Add support for unicode path segments