Use MkdirAll instead to be more resilient.
add Tests.
remove test directories afterwards.
use TempDir
do not forget that it should be missing...
Merge pull request #22 from i0rek/mkdirall

Use MkdirAll instead to be more resilient.