Internal helper class that saves an RDD using a Hadoop OutputFormat. This is only public
because we need to access this class from the spark package to use some package-private Hadoop
functions, but this class should not be used directly by users.
Saves the RDD using a JobConf, which should contain an output key class, an output value class,
a filename to write to, etc, exactly like in a Hadoop MapReduce job.