[ptp] Use MTP_ASSOCIATION_TYPE_GenFolder for directories
[ptp] Stable order of object handles

This fixes a client problem where it showed only a random selection
of pictures from the device.