check if the output folder is a sane directory, otherwise try to create it.
Merge pull request #1 from alphacentauri7/unstable

check if the output folder is a sane directory, otherwise try to create ...