ENH: Re-implemented command line argument shell quoting to support several platforms with one code base.