Use mkdir rather than the file.directory states

file.directory was slowing down provisioning quite a bit. This simplifies things and just uses mkdir instead