EnsureFolder to ensure hierarchy of folders.

Added overload method EnsureFolder to ensure hierarchy of folders.