avatars: Use more reliable LastWriteTime to determine whether the avatar needs refetching