Check CFStringTransform() call for success before using result
Merge pull request #1866 from CFKevinRef/1.x

Check CFStringTransform() call for success before using result