This is already being done by FixSeparators(), called from PathToUTF8().
Attach a file by drag & drop or click to upload