python 3 str to bytes fixes for admin_client_handler.py