Use the mkdirslist function to enable directory tracking.

In order to delete directories on uninstall we need to
ensure that for directories that we do create that we
record that we created them.

Change-Id: Iebb9fe59ad525890e3a3107fad8b479dc5075ba5