refactor the folder creation into its own function
refactor the folder creation into its own function

mbrukman/flocker-docker-plugin,mbrukman/flocker-docker-plugin,mbrukman/flocker-docker-plugin,hackday-profilers/flocker-docker-plugin,hackday-profilers/flocker-docker-plugin,moypray/flocker-docker-plugin,moypray/flocker-docker-plugin,moypray/flocker-docker-plugin,hackday-profilers/flocker-docker-plugin