Base64.strict_encode64 is not available on Ruby 1.8.7