Fixed path joins in lockfile names under Windows.

This prevents paths with slashes of the form:
C:\Parent Directory/locks
to be created under Windows.
Now all lockdir paths returned by the package will have backslashes *only* under Windows.