Wfly 3829 8.x allow server to run in directory which has more than one \s

https://issues.jboss.org/browse/WFLY-3829
Related to: https://issues.jboss.org/browse/WFCORE-93 & wildfly/wildfly-core#168

9.x: https://github.com/wildfly/wildfly/pull/6691