Fixed Iterating directory from corrupting file names when it converts th...

...em to utf8 and instead throws an exception #703