Attempted fix for (github) issue #128 / unexported encode_base64:

When I attempt to use

$driver->upload_file( $foo );

I get:

Undefined subroutine &Selenium::Remote::Driver::encode_base64