added two convenience functions to get the data and cache dir of the workflow