added overwrite argument to checkPathForOutput
(fixes #38)
man