fixed missing \0 when resizing down a string
Merge branch 'master' of github.com:HaxeFoundation/neko