Sort images into directories based on their exchangeable image file format