Revert "Create parent folders if needed (while creating output directory)"

This reverts commit 1628bf294b9a21d5ec45627bf8bbb540066433c2.