fix python3: convert response from bytes to string