[SPARKR-144] Implement saveAsTextFile() in the RDD class.

It'll be good to rename these two to `inputSerialized` and `outputSerialized` to make it clear what they mean