Increase compatibility with Mac PTP initiators (iPhoto, Image Capture)

These commits fix some incompatibilities between the MTP and PTP specs, allowing Mac users to download photos from their device.