Error when I export translate 
Impacted versions: 
11.0 from github repo 
Steps to reproduce:
I run 
python3.6 ./odoo-bin --stop-after-init -d test1 -c ../odoo.cfg -l ru --i18n-export=../ru.po --modules base 
I have 
Traceback (most recent call last):
  File "/home/projects/odoo/odoo-bin", line 8, in <module>
    odoo.cli.main()
  File "/home/projects/odoo/odoo/cli/command.py", line 60, in main
    o.run(args)
  File "/home/projects/odoo/odoo/cli/server.py", line 175, in run
    main(args)
  File "/home/projects/odoo/odoo/cli/server.py", line 154, in main
    export_translation()
  File "/home/projects/odoo/odoo/cli/server.py", line 106, in export_translation
    config["translate_modules"] or ["all"], buf, fileformat, cr)
  File "/home/projects/odoo/odoo/tools/translate.py", line 713, in trans_export
    _process(format, modules, translations, buffer, lang)
  File "/home/projects/odoo/odoo/tools/translate.py", line 669, in _process
    writer.write_infos(modules)
  File "/home/projects/odoo/odoo/tools/translate.py", line 622, in write_infos
    'now': datetime.utcnow().strftime('%Y-%m-%d %H:%M')+"+0000",
  File "/home/projects/odoo_dev/odoo11_36/lib64/python3.6/codecs.py", line 719, in write
    return self.writer.write(data)
  File "/home/projects/odoo_dev/odoo11_36/lib64/python3.6/codecs.py", line 378, in write
    self.stream.write(data)
TypeError: write() argument must be str, not bytes
odoo/cli/server.py
config = odoo.tools.config
    context = {'overwrite': config["overwrite_existing_translations"]}
    dbname = config['db_name']
    registry = odoo.modules.registry.Registry.new(dbname)
    with odoo.api.Environment.manage():
        with registry.cursor() as cr:
            odoo.tools.trans_load(
                cr, config["translate_in"], config["language"], context=context,
            )
def main(args):
    check_root_user()
    odoo.tools.config.parse_config(args)
    check_postgres_user()
    report_configuration()
    config = odoo.tools.config
    
    
    
    csv.field_size_limit(500 * 1024 * 1024)
    preload = []
    if config['db_name']:
        preload = config['db_name'].split(',')
        for db_name in preload:
            try:
                odoo.service.db._create_empty_database(db_name)