How to write bytes to a file in Python 3 without knowing the encoding?,"open('filename', 'wb').write(bytes_)"