FIX: avoid use of wxFileName::GetModificationTime() when it can fail.