FLUME-1729. Better Flume-Spark integration.

Use readFully instead of read in EventTransformer.