Check CFStringTransform() call for success before using result
Merge pull request #1867 from CFKevinRef/master

Check CFStringTransform() call for success before using result