Throw a real error when uploading non-file things in Ruby.

WebDriverError::Error isn't a thing, Error::WebDriverError is.

(CLA signed by dylan@dylanlacey.com -- Superceeding previous CLA signed on behalf of Sauce Lab Inc)