Add a file to hdfs.

This helped:
http://fdmanana.wordpress.com/2010/09/27/streaming-the-body-of-http-postput-requests-with-erlang-otp/