[SPARKR-146] Support read/save object files in SparkR.