wp8: C-string conversion bug fixed