Fix a bug for a directory name with special characters.

The path of getSeleniumGridExtrasJarFile becomes url-encoded.
Example: "Documents and Settings" → "Documents%20and%20settings"

In addition, a file path in command lines should be quoted.