Fallback for Digest::MD5.base64digest in rails 1.8.7