Move ensuring existence of directories to later stage.

In order to be more lazy in initialization of HDFS FileSystem object