Fix base64 string deprecation

-[NSData base64Encoding] is deprecated from iOS 7.0