Improve ClientDriveQueryDirectoryResponse.encode()
#12912
Merged
ClientDriveQueryDirectoryResponse.encode()
#12912