Platform independent file separator

Current implementation does not work on Windows. This fix works on Unix/Win
Ah, now I see how it escapes it. I thought it was gonna produce one too many slashed, but that not the case

Cheers!