Fixed getExifDateTime so it doesn't infinitely loop until memory is
exhausted when trying to obtain the TimeOfDay.