fix join of extra path into outputdirectory. fixes #262