[python] use 'replace' mode
[python] use 'replace' mode

this behavior is as same as C# and Java

pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe,pleclech/hacking-haxe