Create output directory, when not existant, fixes #1
Merge branch 'fix-outputvarname'