cleanup output directory if files were processed. fixes #196