Move sphinx build to the tempdir