Bug 848417 - Use wcsncpy instead of wcscpy. r=bbondy