Output directory is created if it doesn't exists. 

Pull Request for #574 .

Changes are on 'output-directory' branch.

:)