Move ScopedFD to base/files/scoped_file.h and adapt interface to match
current Chromium. Add base/file_util.h ReadFromFD. Add rand_util.h.
Add the NSString wrappers to sys_string_conversions_mac.mm. Avoid a copy
when converting from NS/CFString to std::string.