Decode/Encode bytes buffer from/to core as UTF-8

Required to run with --sdl2 unter python3