Improved reliability of filetree update.