Support/Windows: Add ScopedHandle and move some clients over to it.