fix memory error on  linux

in recent linux distributions, sizeof(unsigned short) == 2 but sizeof(wchar_t) == 4. this causes a memory error while reading the usernames from the replay data.