Use `mktemp -d` for RBENV_TEST_DIR

This prevents the tests from removing an existing directory.

Fixes #561
I kind of remember an experience with `mktemp` where I discovered that various flags like `--tmpdir` aren't perfectly portable. Like for instance on OS X.