Changed CharPtr.ToString(int strlen) to handle binary chunks correct

There are problems with KeraLua and binary chunks. The encoding corrupts binary chunks.

Signed-off-by: charlenni <web@weltz-online.de>