identifting the best base64 strategy for ruby