Use CFStringGetCString to retrieve the device name (as per http://stackoverflow.com/questions/9166291/converting-a-cfstringref-to-char/9166500#9166500)
Merge pull request #2 from wmeissner/master

CFStringGetCStringPtr() sometimes returns null - fix by using CFStringGetCString()