Python Write bytes to file,"f = open('/tmp/output', 'wb')"