ruby 1.8.7 doesn't have Base64.strict_encode64