[JENKINS-21016] On windows, escape the path to the file store, on unix
don't.