MAJOR: relocate duplicate file-stat code from Indexer/StatusOperation/FileSystemAction to FileVersionHelper