Use Base64 NSData methods on Mavericks & iOS 7; use the Base64 class on older OSes