[SPARK-1161] Changing to pickleFile and saveAsPickleFile.

Use PickleSerializer with block size 1024.