Encode file names when showing the file sync log (see #6007)