quote siteconf path in case of space and update relevant tests

https://github.com/rubygems/rubygems/issues/523, https://github.com/rubygems/rubygems/pull/922