Use temporary directories for sphinx tests

This allows using detox without docs and docs3 interferring with each
other.