Use fileutils incase we need recursive tmp and targetdir creation.
Create the publish directory if needed.
Merge pull request #3 from gravitystorm/directories

Improve the initial directories creation