Monkeypatch settings.configdir to tempdir/