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

WebDriverError::Error isn't a thing, Error::WebDriverError is.