backport `Base64.strict_encode64` for Ruby 1.8