Add option to turn off pipelining for shuffle read/write.

With this commit, setting the spark.pipeline configuration
parameter turns off pipelining for reading shuffle data (over
the network) and for writing shuffle data (to disk).