sync with libimobiledevice:master