Python script to classify images from their EXIF datetime