Improve handling of row.file on Windows