Python Write Binary Bytes To File