A utility wrapper to make sure filenames are valid utf8.
file name suitable for open(2).
if true, the resulting utf8 file name will be quoted (unless it is invalid).
filename using utf-8 encoding for display
filename