added in the wal and shm file times when deciding whether to sync