Fixed a bug and updated the character encoding.

There was a bug when reporting whether or not invalid points were being retained. The response from a survey/upload call will now correctly echo back whether or not points were saved.

In an attempt to fix some character enconding issues, the stream data is now being stored in UTF-16 format, instead of UTF-8.

References #612