Move the directory maker into RSpec::Support

Required before https://github.com/rspec/rspec-core/pull/1565 can be merged.