JBIDE-18863 - browse button causes wrong separators in deployment pref UI

JBIDE-18863 - fix a missing toOSString() in the deployment scanner additions