Python script to organize media based on their creation date