Changed hook to update EXIF dates after write

- changed hook from onBeforeWrite to onAfterWrite
- suppressed possible warnings in exif_read_data function