Updated UTF-8 file path support for file streams.

They need to be opened using a boost::filesystem::path object, not a
string or C string.