Quotes all arguments that contain whitespace, or begin with a quote and returns a single argument string for use with Process.Start().