Correctly construct the path for talkfile generation.