python write bytes to file,"f = open('/tmp/output', 'wb')"