Maximum command length increased.

Removed unnecessary string to StringBuilder conversion.
For long strings use GetByteCount to evade OutOfMemoryException