BUG joblib writes to wrong dir

Sorry, I should have reviewed #2978 more carefully.