Rename a variable in save_locals_to_ddfs.

There was a name clash between this K and the K in K:V.
Introduce the hdfs_scheme
Add an hdfs usage example.
Handle the temporary redirect in pycurl upload.
Add the option to save to hdfs.