Python Script to rename media files based on dictionaries