fix for os dependent path separator — caused node latex process to crash on windows