Switched to saveAsTextFile for larger outputs