Resolve where on unix some files might not be decodable.
Merge pull request #1829 from matham/filechooser-unicode2

Resolve where on unix some files might not be decodable.