Fallback implementation for Lockfile on Windows platform

Since the os API doesn't include symlink in Windows platforms, this solves it by making the lock and pidfile the same path.