Require tmpdir in order to fix test