[WFLY-3151] Allow the CLI script to work with directories that include spaces.
Merge pull request #6072 from jamezp/WFLY-3151

[WFLY-3151] Allow the CLI script to work with directories that include spaces