Fix perforce workdir path when master and slaves are in different os

Perforce sync doesn't work when master is in windows and slave on posix platform