fixed fileStats in linux to allow rebuilding.