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
except ProgrammingError as err:
                if err.pgcode == errorcodes.INSUFFICIENT_PRIVILEGE:
                    
                    
                    
                    _logger.info("Could not determine if database %s exists, "
                                 "skipping auto-creation: %s", db_name, err)
                else:
                    raise err
            except odoo.service.db.DatabaseExists:
                pass
    if config["translate_out"]:
        export_translation()
        sys.exit(0)
    if config["translate_in"]:
        import_translation()
        sys.exit(0)
    
    
    if config['workers']:
        odoo.multi_process = True
    stop = config["stop_after_init"]
    setup_pid_file()
    rc = odoo.service.server.start(preload=preload, stop=stop)
    sys.exit(rc)
class Server(Command):
    """Start the odoo server (default command)"""
    def run(self, args):
        main(args)