Add the option to save to hdfs.
Fix typo.