Use UTF-8 when talking to FSI.

Fixes #554. Tested on OSX and Windows.