Fix to use path separator in bosh-registry check

Current fix makes code not to fail in Windows OS.Please find detailed description in Bosh issue 442: https://github.com/cloudfoundry/bosh/issues/442