created a FileStreamWrapper class to open files given UTF-8 filenames