Moving two types and one function from the HDFS modulde into the IO module (since
they should, in fact, be in the IO module).

Added support for curl at the module level now.