Use `mktemp -d` for RBENV_TEST_DIR

This prevents the tests from removing an existing directory.

Fixes #561