fixes string and binary data operations for backwards compatibility on python3