Fix slash direction on Windows with the new filePath code