Fix a bug with non ascii characters (tested on: mdf debug applist)
Allow to use com.apple.afc if com.apple.afc2 is not present (in order to work with non-jailbroken devices)